Q3Tracker_New
You can use theQ3Tracker_New
function to create a new tracker.
TQ3TrackerObject Q3Tracker_New (TQ3TrackerNotifyFunc notifyFunc);
notifyFunc
- A pointer to a tracker notify function. See page 18-50 for information on writing a tracker notify function.
DESCRIPTION
TheQ3Tracker_New
function returns, as its function result, a reference to a new tracker object. ThenotifyFunc
parameter specifies the tracker's notify function, which is called whenever the position or orientation of the tracker changes. If you want to poll for such changes instead of being notified, setnotifyFunc
toNULL
. The new tracker is active and has both its position threshold and its orientation threshold set to 0. IfQ3Tracker_New
cannot create a new tracker, it returnsNULL
.